package com.cxf.windex.entity;

import lombok.*;

import java.util.Date;
import javax.persistence.*;

/**
 * 人力资源 信息表
 * @author  chenxf
 */
@Table(name = "b_human_resources")
@Builder(toBuilder = true)
@AllArgsConstructor(access = AccessLevel.PACKAGE)
@NoArgsConstructor
@Getter
@Setter
public class HumanResources {
    /**
     * 资源
     */
    @Id
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 公司名称
     */
    private String name;


    /**
     * 薪资
     */
    private String salary;

    /**
     * 要求内容
     */
    private String content;

    /**
     * 工作地址
     */
    private String address;

    /**
     * 联系人
     */
    @Column(name = "contact_name")
    private String contactName;

    /**
     * 联系电话
     */
    @Column(name = "contact_phone")
    private String contactPhone;

    /**
     * 状态  1有效 2失效
     */
    private String status;

    /**
     * 标签
     */
    private String tags;

    /**
     * 备注
     */
    private String notes;

    /**
     * 招工开始时间
     */
    @Column(name = "begin_time")
    private Date beginTime;

    /**
     * 招工结束时间
     */
    @Column(name = "end_time")
    private Date endTime;

    @Column(name = "order_num")
    private Integer orderNum;

    /**
     * 创建时间
     */
    @Column(name = "crt_time")
    private Date crtTime;

    /**
     * 创建用户IP
     */
    @Column(name = "crt_host")
    private String crtHost;

    /**
     * 更新时间
     */
    @Column(name = "upd_time")
    private Date updTime;

    /**
     * 更新用户IP
     */
    @Column(name = "upd_host")
    private String updHost;


}
